<template>
  <div class="bread">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/' }"><img src="../../assets/images/iconhome.png" alt=""> 首页</el-breadcrumb-item>
      <el-breadcrumb-item>企业邻居</el-breadcrumb-item>
      <el-breadcrumb-item>{{ title }}</el-breadcrumb-item>
    </el-breadcrumb>
    <el-button size="mini" @click="$router.back()">返回</el-button>
  </div>
</template>
<script>
export default {
  computed: {
    title() {
      return JSON.parse(this.$route.query.data).title
    }
  }
}
</script>
<style lang="scss" scoped>
.bread{
  height: 60px;
  line-height: 60px;
  border-bottom: 1px solid #E8EAEC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  img{
    width: 16px;
    height: 16px;
    vertical-align: middle;
  }
}
::v-deep .el-breadcrumb__inner, .el-breadcrumb__inner.is-link{
  color: #0071DF;
}
</style>
